export function checkPhoneNumber(phoneNumber) {
  return /^1[3456789]\d{9}$/.test(phoneNumber)
}

export function checkPassword(password) {
  const regex = new RegExp('(?=.*[0-9])(?=.*[a-zA-Z]).{8,30}');
  return regex.test(password)
}

export function checkVerifyCode(number) {
  return /^\d{6}$/.test(number)
}
